require("./waitMe.js");
require("./waitMe.css");

var waitMe = {
    show: function(){
        $(this.container).show();
        $(this.container).waitMe(this.config);
    },
    hide: function(){
        $(this.container).hide();
        $(this.container).waitMe("hide");
    },
    configure: function(container, config){
        this.config = config;
        this.container = container;
    },
    config: null
};

export default waitMe;